package com.lxk.pojo;

import java.io.Serializable;
import java.util.Date;

public class Moment implements Serializable {
    private Integer momentId;

    private Integer wxUserId;

    private Integer momentType;

    private String mediaUrl;

    private String momentTitle;

    private String momentText;

    private Date momentTime;

    private Integer goodsId;

    private Integer likeNum;

    private Integer viewNum;

    private Integer comNum;

    private Integer starNum;

    private Integer isPassed;

    private Integer isTop;

    private String snapshot;

    private static final long serialVersionUID = 1L;

    public Integer getMomentId() {
        return momentId;
    }

    public void setMomentId(Integer momentId) {
        this.momentId = momentId;
    }

    public Integer getWxUserId() {
        return wxUserId;
    }

    public void setWxUserId(Integer wxUserId) {
        this.wxUserId = wxUserId;
    }

    public Integer getMomentType() {
        return momentType;
    }

    public void setMomentType(Integer momentType) {
        this.momentType = momentType;
    }

    public String getMediaUrl() {
        return mediaUrl;
    }

    public void setMediaUrl(String mediaUrl) {
        this.mediaUrl = mediaUrl == null ? null : mediaUrl.trim();
    }

    public String getMomentTitle() {
        return momentTitle;
    }

    public void setMomentTitle(String momentTitle) {
        this.momentTitle = momentTitle == null ? null : momentTitle.trim();
    }

    public String getMomentText() {
        return momentText;
    }

    public void setMomentText(String momentText) {
        this.momentText = momentText == null ? null : momentText.trim();
    }

    public Date getMomentTime() {
        return momentTime;
    }

    public void setMomentTime(Date momentTime) {
        this.momentTime = momentTime;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(Integer likeNum) {
        this.likeNum = likeNum;
    }

    public Integer getViewNum() {
        return viewNum;
    }

    public void setViewNum(Integer viewNum) {
        this.viewNum = viewNum;
    }

    public Integer getComNum() {
        return comNum;
    }

    public void setComNum(Integer comNum) {
        this.comNum = comNum;
    }

    public Integer getStarNum() {
        return starNum;
    }

    public void setStarNum(Integer starNum) {
        this.starNum = starNum;
    }

    public Integer getIsPassed() {
        return isPassed;
    }

    public void setIsPassed(Integer isPassed) {
        this.isPassed = isPassed;
    }

    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }

    public String getSnapshot() {
        return snapshot;
    }

    public void setSnapshot(String snapshot) {
        this.snapshot = snapshot == null ? null : snapshot.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", momentId=").append(momentId);
        sb.append(", wxUserId=").append(wxUserId);
        sb.append(", momentType=").append(momentType);
        sb.append(", mediaUrl=").append(mediaUrl);
        sb.append(", momentTitle=").append(momentTitle);
        sb.append(", momentText=").append(momentText);
        sb.append(", momentTime=").append(momentTime);
        sb.append(", goodsId=").append(goodsId);
        sb.append(", likeNum=").append(likeNum);
        sb.append(", viewNum=").append(viewNum);
        sb.append(", comNum=").append(comNum);
        sb.append(", starNum=").append(starNum);
        sb.append(", isPassed=").append(isPassed);
        sb.append(", isTop=").append(isTop);
        sb.append(", snapshot=").append(snapshot);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}